using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPR.Poker.Model.LIS
{
    public class LIS_Province
    {
        #region Member
        private int m_IDSys = 0;
        private string m_ProvinceID = string.Empty;
        private string m_ProvinceName = string.Empty;
        private int m_CountryIDSys = 0;
        private string m_Note = string.Empty;
        private int m_OrderIndex = 0;
        private bool m_IsDeleted = false;
        private DateTime? m_DeletedDate;
        #endregion
        #region Properties
        /// <summary>
        /// IDSys
        /// 
        /// </summary>
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int IDSys
        {
            get { return m_IDSys; }
            set { m_IDSys = value; }
        }
        /// <summary>
        /// ProvinceID
        /// Mã Tỉnh/Thành
        /// </summary>
        public string ProvinceID
        {
            get { return m_ProvinceID; }
            set { m_ProvinceID = value; }
        }
        /// <summary>
        /// ProvinceName
        /// Tên Tỉnh/Thành
        /// </summary>
        public string ProvinceName
        {
            get { return m_ProvinceName; }
            set { m_ProvinceName = value; }
        }
        /// <summary>
        /// CountryIDSys
        /// Mã Quốc gia
        /// </summary>
        public int CountryIDSys
        {
            get { return m_CountryIDSys; }
            set { m_CountryIDSys = value; }
        }
        /// <summary>
        /// Note
        /// Ghi chú
        /// </summary>
        public string Note
        {
            get { return m_Note; }
            set { m_Note = value; }
        }
        /// <summary>
        /// OrderIndex
        /// Thứ tự
        /// </summary>
        public int OrderIndex
        {
            get { return m_OrderIndex; }
            set { m_OrderIndex = value; }
        }
        /// <summary>
        /// IsDeleted
        /// Xóa
        /// </summary>
        public bool IsDeleted
        {
            get { return m_IsDeleted; }
            set { m_IsDeleted = value; }
        }
        /// <summary>
        /// DeletedDate
        /// Ngày xóa
        /// </summary>
        public DateTime? DeletedDate
        {
            get { return m_DeletedDate; }
            set { m_DeletedDate = value; }
        }
        #endregion
        #region Constructor
        public LIS_Province()
        {
        }
        #endregion
        #region Column Names
        public const String colIDSys = "IDSys";
        public const String colProvinceID = "ProvinceID";
        public const String colProvinceName = "ProvinceName";
        public const String colCountryIDSys = "CountryIDSys";
        public const String colNote = "Note";
        public const String colOrderIndex = "OrderIndex";
        public const String colIsDeleted = "IsDeleted";
        public const String colDeletedDate = "DeletedDate";
        #endregion
    }
}
